from typing import Union;
list_1:list[Union[str, int]] = [1, 'xixi']  # 联合类型
dict_1:dict[str, Union[str, int]] = {"a": 1, "b": "dasf"}
print(list_1)
print(dict_1)